package exttable.testselector;

import exttable.view.*;
import utils.Localisation;
import utils.TestParameters;

import java.util.Vector;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: Aug 12, 2010
 * Time: 11:08:59 AM
 * To change this template use File | Settings | File Templates.
 */
public class VolunteerSelectorModel {
    private TestParameters testParameters;
    private Vector<ViewGroup> listGroups;
    private Vector<ViewProbationer> listProbationer;
    private Vector<ViewType> listTypes;
    private Vector<ViewSchema> listSchemas;
    private Vector<ViewPhases> listPhases;
    private String infoText[] = new String[4];
    Vector<Vector> timeTableData;
    Vector<String> timeTableHeader;

    public VolunteerSelectorModel() throws Exception {
        testParameters = new TestParameters();
        listGroups = new Vector<ViewGroup>();
        listProbationer = new Vector<ViewProbationer>();
        infoText[0] = Localisation.getMessage("form.path") + " ";
        listTypes = new Vector<ViewType>();
        listTypes.addAll(QueryHandler.getTypes());
        timeTableData = new Vector<Vector>();
        timeTableHeader = new Vector<String>();
        listSchemas = new Vector<ViewSchema>();
        listPhases = new Vector<ViewPhases>();
    }

    public TestParameters getTestParametrs() {
        return testParameters;
    }

    public Vector<ViewGroup> getListGroups() {
        return listGroups;
    }

    public Vector<ViewProbationer> getListProbationer() {
        return listProbationer;
    }

    public String[] getInfoText() {
        return infoText;
    }

    public Vector<ViewType> getListTypes() {
        return listTypes;
    }

    public Vector<Vector> getTimeTableData() {
        return timeTableData;
    }

    public Vector<String> getTimeTableHeader() {
        return timeTableHeader;
    }

    public Vector<ViewSchema> getListSchemas() {
        return listSchemas;
    }

    public Vector<ViewPhases> getListPhases() {
        return listPhases;
    }
}
